﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<style type="text/css">
	*{border:0;}
	.static{
		width:500px;
		height:200px;
		border:1px solid #ddd;
		position:relative; 
	}
	.static p{
		position:static;
		*position:absolute;
		top:50%;
	}
	.static p img{
		position:static;
		*position:relative;
		top:-50%;
		left:-50%;
	}
	</style>
</head>
<body>
	<div  class="static"><p><img src="html5jscss.jpg" alt="html5jscss.com" /></p></div>
</body>
</html>